#!/bin/bash

dt=$(date "+%Y%m%d")
echo 开始导入$dt这天的文件
hive -e "load data inpath '/user_clicks/$dt/clicklog.dat' into table homework.user_clicks partition(dt='$dt');"
